home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
COMPHELP
/
BATCHTUT.LZH
/
TESTSET.BAT
< prev
next >
Wrap
DOS Batch File
|
1983-08-25
|
453b
|
22 lines
echo off
. testset.bat %1 revised 14-aug-83
setdisk %1
if errorlevel 5 goto notfound
if errorlevel 3 goto disk3
if errorlevel 2 goto disk2
if errorlevel 1 goto disk1
echo found %1 on drive A:
goto exit
:disk1
echo found %1 on drive B:
goto exit
:disk2
echo found %1 on drive C:
goto exit
:disk3
echo found %1 on drive D:
goto exit
:notfound
echo setdisk did not find file
:exit